<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<title>评论 -- Powered by CentIMS {$core_version}</title>
		<link href="{'bootstrap/css/bootstrap.css'|shared}" rel="stylesheet"/>
		<link href="{'bootstrap/css/bootstrap-responsive.css'|shared}" rel="stylesheet"/>
		<link href="{'common.css'|shared}" rel="stylesheet"/>
		<link href="../vfs/page.css" rel="stylesheet"/>
		<script type="text/javascript" src="{'quicktags.js'|shared}"></script>		
	</head>
	<body>
		<div class="workspace">
			{include file='core/views/vfs/vfs_navi.tpl'}
			
			{if $page_tip_info}
			<div class="alert alert-error">
				<button class="close" data-dismiss="alert">×</button>
				{$page_tip_info}
			</div>
			{/if}
		
			<form class="form-horizontal" id="comment-form" method="POST" action="./?Ctlr=SaveComment">
				<input type="hidden" name="comment_id" id="comment_id" value="{$comment_id}"/>
		       	<div id="pagestuff">
		       		<div id="side-info-column" class="sidebar">
						<div id="side-sortables">
													
							<div class="postbox">
								<div title="点击以切换" class="handlediv"><br/></div>
								<h3 class="hndle"><span>状态</span></h3>	
								<div class="inside">
									<div class="form-field">
										<a class="btn pull-right" href="{$refer_url}">返回</a>
										<br class="clear"/>
										<ul style="margin:0">
											<li><label class="radio tgre"><input type="radio" name="status" {'new'|checked:$status} value="new"/>未审核</label></li>
											<li><label class="radio tgre"><input type="radio" name="status" {'pass'|checked:$status} value="pass"/>已批准</label></li>
											<li><label class="radio torg"><input type="radio" name="status" {'unpass'|checked:$status} value="unpass"/>未批准</label></li>
											<li><label class="radio tred"><input type="radio" name="status" {'spam'|checked:$status} value="spam"/>垃圾评论</label></li>
										</ul>
									</div>									
									<p>										
										<a href="./?Ctlr=SetStatus&del=2&cid={$comment_id}" class="btn btn-danger"><i class="icon-trash icon-white"></i>移至回收站</a>
										<button class="btn btn-info pull-right" type="submit">保存</button>										
										<br class="clear"/>
									</p>
								</div>
							</div>
						</div>				
					</div>						
					<div id="page-body">
						<div class="post-body-form">	
							<div class="stuffbox">
				          		<h3><label for="author">作者</label></h3>
				          		<div class="inside">
						        	<div class="control-group">
						         		<label class="control-label" for="author">姓名</label>
						            	<div class="controls">
						            		<input type="text" id="author" name="author" value="{$author}"/>
						            	</div>
						          	</div> 
						          	<div class="control-group {$error_cls.email}">
						            	<label class="control-label" for="email">电子邮件</label>
						            	<div class="controls">
						              		<input type="text" id="email" name="email" value="{$email}"/>
						              		<span class="help-inline">{$error.email}</span>
						            	</div>
						          	</div>
						          	<div class="control-group {$error_cls.url}">
						            	<label class="control-label" for="url">主页</label>
						            	<div class="controls">
						            		<input type="text" id="url" name="url" value="{$url}"/>
						              		<span class="help-inline">{$error.url}</span>
						            	</div>
						          	</div>
					          	</div>          		
			          		</div>
				          	<div>
				          		<div class="quicktags">
				          			<script type="text/javascript">edToolbar('comment');</script>
				          			<textarea rows="8" class="quicktags-editor" name="comment" id="comment">{$comment}</textarea>
				          		</div>
				          	</div>			          	
						</div>
					</div>
					<br class="clear"/>
		       	</div>
		    </form>
	    </div>	
		<script type="text/javascript" src="{'jquery-1.7.1.js'|jquery}"></script>
		<script type="text/javascript" src="{'bootstrap/bootstrap.js'|shared}"></script>		
		<script type="text/javascript" src="{'common.js'|shared}"></script>
	</body>
</html>
